      <? if($cerrarfancy == 1){?>
<script>parent.jQuery.fancybox.close();parent.location.reload();</script>
      <?}?>

        <link rel="stylesheet" href="<?= base_url() ?>public/css/bootstrap.css" />
      <form action="<? echo base_url("index/recibeCiudad") ?>" method="post" >
      
      
     
       <div>
                <select name="selectCity">
                    <? print_r($cities); foreach ($cities as $c){?>
                    <option value="<? echo $c->id ?>"><? echo $c->name ?></option>
                    <?}?>
                </select>
                <div>
                  <input value="seleccionar" type="submit" class="btn btn-success"/>   
                </div>
     
        </div>
      </form>